package com.educhains.module.post.vo;


import java.util.Date;

public class PostWithContent {

    private String postId;
    private Post post;
    private PostContent postContent;

    public PostWithContent(Post post, PostContent postContent) {
        this.post = post;
        this.postContent = postContent;
        this.postId = post.getPostId();
    }
    public PostWithContent(String postId, Post post, PostContent postContent) {
        this.postId = postId;
        this.post = post;
        this.postContent = postContent;
    }

    public Post getPost() {
        return post;
    }

    public PostContent getPostContent() {
        return postContent;
    }


    public PostWithContent() {
        super();
    }

    public String getPostId() {
        return postId;
    }

    public void setPostId(String postId) {
        this.post.setPostId(postId);
    }

    public String getPostPub() {
        return this.post.getPostPub();
    }

    public void setPostPub(String postPub) {
        this.post.setPostPub(postPub);
    }

    public String getPostPubName() {
        return this.post.getPostPubName();
    }

    public void setPostPubName(String postPubName) {
        this.post.setPostPubName(postPubName);
    }

    public String getPostSectionId() {
        return this.post.getPostSectionId();
    }

    public void setPostSectionId(String postSectionId) {
        this.post.setPostSectionId(postSectionId);
    }

    public String getPostName() {
        return this.post.getPostName();
    }

    public void setPostName(String postName) {
        this.post.setPostName(postName);
    }

    public Boolean getPostIsEssence() {
        return this.post.getPostIsEssence();
    }

    public void setPostIsEssence(Boolean postIsEssence) {
        this.post.setPostIsEssence(postIsEssence);
    }

    public Integer getPostReadNum() {
        return this.post.getPostReadNum();
    }

    public void setPostReadNum(Integer postReadNum) {
        this.post.setPostReadNum(postReadNum);
    }

    public Integer getPostLikeNum() {
        return this.post.getPostLikeNum();
    }

    public void setPostLikeNum(Integer postLikeNum) {
        this.post.setPostLikeNum(postLikeNum);
    }

    public Date getPostCreateTime() {
        return this.post.getPostCreateTime();
    }

    public void setPostCreateTime(Date postCreateTime) {
        this.post.setPostCreateTime(postCreateTime);
    }

    public Integer getPostReplyNum() {
        return this.post.getPostReplyNum();
    }

    public void setPostReplyNum(Integer postReplyNum) {
        this.post.setPostReplyNum(postReplyNum);
    }

    public Boolean getPostIsDelete() {
        return this.post.getPostIsDelete();
    }

    public void setPostIsDelete(Boolean postIsDelete) {
        this.post.setPostIsDelete(postIsDelete);
    }


    public String getPostText() {
        return this.postContent.getPostText();
    }

    public void setPostText(String postText) {
        this.postContent.setPostText(postText);
    }
}
